﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OOP_面向对象编程._2_继承._2._2_抽象类_abstract_继承
{
    //继承接口,必须实现接口的方法和属性，不然会报错
    public class BadPeople : IPerson
    {
        public void Eat()
        {
            Console.WriteLine("吃");
        }
        public string eye { get; set; }
    }
}
